<aside class="main-sidebar sidebar-dark-primary elevation-4">
    <a href="/" class="brand-link">
        <img src="dist/img/logo-128x128.png"
             alt="tianshubang.com logo"
             class="brand-image img-circle elevation-3"
             style="opacity: .8">
        <span class="brand-text font-weight-light">天书榜</span>
    </a>

    <div class="sidebar">
        <div class="user-panel mt-3 pb-3 mb-3 d-flex">
            <div class="image">
                <img src="dist/img/user-128x128.png" class="img-circle elevation-2" alt="User Image">
            </div>
            <div class="info">
                <a href="#" class="d-block">${userName}</a>
            </div>
        </div>

        <nav class="mt-2">
            <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
                <li class="nav-item">
                    <a href="/fictionlist" class="nav-link">
                        <i class="nav-icon fas fa-print text-danger"></i>
                        <p class="text">文章管理</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/authorlist" class="nav-link">
                        <i class="nav-icon fas fa-users text-warning"></i>
                        <p>作者管理</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="#" class="nav-link">
                        <i class="nav-icon far fa-comment text-info"></i>
                        <p>评论管理</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/notifymanage" class="nav-link">
                        <i class="nav-icon far fa-bell text-success"></i>
                        <p>通知管理</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/authoradd" class="nav-link">
                        <i class="nav-icon fa fa-plus text-white" aria-hidden="true"></i>
                        <p>添加作者</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/fictionadd" class="nav-link">
                        <i class="nav-icon fa fa-plus text-white" aria-hidden="true"></i>
                        <p>添加文章</p>
                    </a>
                </li>
            </ul>
        </nav>
    </div>
</aside>